home *** CD-ROM | disk | FTP | other *** search
- package com.sun.java.swing.text;
-
- final class StringContent$StickyPosition implements Position {
- // $FF: synthetic field
- StringContent this$0;
- StringContent.PosRec rec;
-
- // $FF: synthetic method
- StringContent$StickyPosition(StringContent this$0, int offset) {
- this.this$0 = this$0;
- this.rec = new StringContent.PosRec(this$0, offset);
- this$0.marks.addElement(this.rec);
- }
-
- public int getOffset() {
- return this.rec.offset;
- }
-
- protected void finalize() throws Throwable {
- this.rec.unused = true;
- }
-
- public String toString() {
- return Integer.toString(this.getOffset());
- }
- }
-